
using SqlSugar;
using System;

namespace B.S.DataBase.MyProject.Domain.ZJWWorkOrderTwo
{
    /// <summary>
    /// 挂号表，记录患者挂号信息
    /// </summary>
    [SugarTable("Registration")]
    public class Registration : B.S.DataBase.MyProject.Domain.wdx.Audit
    {
        /// <summary>
        /// 主键，自增
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int RegistrationId { get; set; }

        /// <summary>
        /// 医疗卡Id（外键，关联MedicalCard）
        /// </summary>
        public int CardId { get; set; }

        /// <summary>
        /// 挂号单号
        /// </summary>
        public string RegistrationNumber { get; set; }

        /// <summary>
        /// 挂号科室
        /// </summary>
        public string Department { get; set; }

        /// <summary>
        /// 挂号医生
        /// </summary>
        public string Doctor { get; set; }

        /// <summary>
        /// 挂号类型（普通号/专家号等）
        /// </summary>
        public string RegistrationType { get; set; }

        /// <summary>
        /// 挂号日期
        /// </summary>
        public DateTime RegistrationDate { get; set; }

        /// <summary>
        /// 挂号费用
        /// </summary>
        public decimal RegistrationFee { get; set; }

        /// <summary>
        /// 其他费用
        /// </summary>
        public decimal OtherFee { get; set; }

        /// <summary>
        /// 挂号状态（正常/取消/修改）
        /// </summary>
        public string Status { get; set; }
    }
} 